package main

import (
	"spider/common"
	"spider/itemSaver"
)

//oss 上传

func main() {
	//ossUrl:="https://img2.lepucdn.cn/test/licence/1.jpg@!original.jpg"

	err := common.InitConfig("./conf.json")
	if err != nil {
		panic(err)
	}

	localPath:="../meituan_license/740/1.jpg";

	remoteOath:="test/licence/1.jpg";
	err=itemSaver.OssUpload(localPath,remoteOath);
	if err!=nil{
		panic(err)
	}
}
